<template>
	<view>
		<view class="headers"  @click="gobacks" >
			<image src="/static/dazi/bak.png" mode=""></image>
			<view class="foget">
				<slot></slot>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		name:"headers",
		data() {
			return {
				
			};
		},
		methods:{
			gobacks(){
				
				// #ifdef H5
				 history.back(); 
				// #endif
				
				// #ifdef APP
				uni.navigateBack()
				// #endif
				
			}
		}
	}
</script>

<style lang="scss">
	.foget {
		font-weight: 700;
		color: #1E2126;
		font-size: 40rpx;
		margin-left: 20rpx;
	}

	.headers {
		padding: 40rpx 30rpx 10rpx;
		display: flex;
		align-items: center;
		

		


		image {
			width: 48rpx;
			height: 48rpx;
			vertical-align: middle;
		}
	}
</style>